package com.store.service.xlp;

import com.store.entity.Seller;
import com.store.mapper.xlp.RegisterMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Service
public class RegisterService {
    @Autowired
    private RegisterMapper registerMapper;

    public boolean addSeller(Seller seller) {
        return registerMapper.insert(seller)>1;
    }
}
